<form action="{:url()}" method="post" class="form_single">
    <div class="box">
        <div class="box-body">
            <div class="row">
                <div class="col-md-6">
                    <div class="form-group">
                        <label>计划内容</label>
                        <span>（请输入此次活动内容）</span>
                        <input class="form-control" name="plan_content"  placeholder="请输入活动内容" value="{$info['plan_content']|default=''}">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>计划时间</label>
                        <span>（请选择活动计划时间）</span>
                        <input class="form-control date" name="plan_time" placeholder="请选择或输入日期" value="{$info['plan_time']|default='2018-05-05'}" type="text">
                    </div>
                </div>

                <div class="col-md-6">
                    <div class="form-group">
                        <label>活动类型</label>
                        <span>（请选择活动类型）</span>
                        <select name="activity_type" class="form-control">
                            {volist name='activity_list' id='vo' key='k'}
                            <option value="{$k-1}" {notempty name="info['activity_type']"}{if condition="$info['activity_type'] eq $k-1"} selected="selected" {/if}{/notempty} >{$vo}</option>
                            {/volist}
                        </select>
                    </div>
                </div>

                <input type="hidden" name="room_id" value="{$room_id}">
                <input type="hidden" name="id" value="{$id}">

            </div>
        </div>

        <div class="box-footer">

            {include file="layout/edit_btn_group"/}

        </div>

    </div>

</form>

<script>
   $(function(){
        
        $('.date').datetimepicker({
            format: 'yyyy-mm-dd',
            language:"zh-CN",
            minView:2,
            autoclose:true
        });        

    });
</script>